package com.kcwl.carrier.infrastructure.enums;

/**
 * @author lxp
 * @date 2023/1/10 16:40
 * @Description
 */
public enum CarrierDriverInviteStatusEnum {

    FREE(10, "司机通过"),
    STOP_ORDER(11, "司机拒绝"),
    TRANSPORT(12, "待司机确认"),
    CARRIER_FREE(20, "车队长通过"),
    CARRIER_STOP_ORDER(21, "车队长拒绝"),
    CARRIER_TRANSPORT(22, "待车队长确认"),
    ;

    private int code;

    private String msg
            ;

    CarrierDriverInviteStatusEnum(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public String getDesc() {
        return msg;
    }
}
